package com.qidian.mes.pojo.cal;

import java.util.Date;

/**
 * @Author 04冯虹丹
 * @Company 起点编程
 * @Time 2023/10/27 16:16
 * @Description
 */
public class CalType {
    private Long calId;
    private String calendarType;
    private String calTag;
    private String calValue;
    private Integer calOrder;
    private String calNotes;
    private Integer calStatus;
    private String notes;

    private Date createTime;

    private Date modifyTime;


    private Long calTypeCreateTimeMillis;
    private Long calTypeModifyTimeMillis;

    @Override
    public String toString() {
        return "CalType{" +
                "calId=" + calId +
                ", calendarType='" + calendarType + '\'' +
                ", calTag='" + calTag + '\'' +
                ", calValue='" + calValue + '\'' +
                ", calOrder=" + calOrder +
                ", calNotes='" + calNotes + '\'' +
                ", calStatus=" + calStatus +
                ", notes='" + notes + '\'' +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                '}';
    }

    public String getCalNotes() {
        return calNotes;
    }

    public void setCalNotes(String calNotes) {
        this.calNotes = calNotes;
    }

    public Long getCalId() {
        return calId;
    }

    public void setCalId(Long calId) {
        this.calId = calId;
    }

    public String getCalendarType() {
        return calendarType;
    }

    public void setCalendarType(String calendarType) {
        this.calendarType = calendarType;
    }

    public String getCalTag() {
        return calTag;
    }

    public void setCalTag(String calTag) {
        this.calTag = calTag;
    }

    public String getCalValue() {
        return calValue;
    }

    public void setCalValue(String calValue) {
        this.calValue = calValue;
    }

    public Integer getCalOrder() {
        return calOrder;
    }

    public void setCalOrder(Integer calOrder) {
        this.calOrder = calOrder;
    }

    public Integer getCalStatus() {
        return calStatus;
    }

    public void setCalStatus(Integer calStatus) {
        this.calStatus = calStatus;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getCalTypeCreateTimeMillis() {
        if(this.createTime != null)
            return this.createTime.getTime();
        return null;
    }

    public void setCalTypeCreateTimeMillis(Long calTypeCreateTimeMillis) {
        this.calTypeCreateTimeMillis = calTypeCreateTimeMillis;
    }

    public Long getCalTypeModifyTimeMillis() {
        if(this.modifyTime != null)
            return this.modifyTime.getTime();
        return null;
    }

    public void setCalTypeModifyTimeMillis(Long calTypeModifyTimeMillis) {
        this.calTypeModifyTimeMillis = calTypeModifyTimeMillis;
    }

}
